package com.dufcal.repondeursms;

public class Contact {

	private String nom = "";
	private String numero;
	private static final String toutLeMonde = "_all_";

	public Contact(String nom, String numeroEnIndicatif) {

		this.nom = nom;
		this.numero = numeroEnIndicatif;

	}

	public Contact(String numeroEnIndicatif) {

		this.nom = "?";
		this.numero = numeroEnIndicatif;

	}

	public Contact() {
		this.numero = toutLeMonde;

	}

	public String getNom() {
		return nom;
	}

	public String getNumero() {
		return numero;
	}

	@Override
	public String toString() {
		return nom + " (" + numero + ") ";
	}

}
